// 快速访问子模块的数据（快捷访问）
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // 头像信息
  avatar: state => state.user.user.staffPhoto,
  // 用户名信息
  name: state => state.user.user.username,
  // 部门信息
  depart: state => state.user.user.departmentName,

  // 公司信息
  company: state => state.user.user.company,
  // 工号
  workNumber: state => state.user.user.workNumber
}
export default getters
